@extends('admin/layout')

@if($nav='user')@endif

@section('content')
    <div class="row">
        <div class="col-md-2">
            <div class="list-group">
                <a class="list-group-item @if($menu == 'user') active @endif" href="{{ url('admin/user') }}">用户管理</a>
                <a class="list-group-item @if($menu == 'role') active @endif" href="{{ url('admin/role') }}">角色管理</a>
                <a class="list-group-item @if($menu == 'permission') active @endif" href="{{ url('admin/permission') }}">权限管理</a>
                <a class="list-group-item @if($menu == 'userLog') active @endif" href="{{ url('admin/log/UserLoginRecords') }}">用户登录日志</a>
            </div>

        </div>
        <div class="col-md-10">
            @section('main')
            @show
        </div>
    </div>
@endsection